Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
MakeHex - Help PLEASE!
This thread has 9 replies. Displaying all posts.
Post 1 made on Thursday October 14, 2010 at 10:14
kanofsky
Long Time Member
Joined:
Posts:
November 2005
10
I am in desperate need of a little guidance. I have downloaded the MakeHex application, and I think I understand the principles. However, I have a device which I need to generate IR codes which is not listed among the files that were downloaded.

It is an IMPACT ACOUSTICS 6 x 2 Component Video/Optical Matrix Switch.

Which file should I use? Which device number do I put in? What other parameters do I need to modify?

Please help!

Thanks!!
GK
Post 2 made on Thursday October 14, 2010 at 11:18
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
The IRP Files in MakeHex are not based Manufactures but on IR Protocols. So you need to know what the IR Protocol is for your device and you also know what the Device Number is for that Device.

If you have the IR Codes infomation from the manufacturer i.e. Protocol / Device Number and Function Numbers they can be used generated with MakeHex.

OR

You can use a learnt hex code (only codes that start with 0000) to find the Protocol / Device Number and Function Numbers by using IRTools and DecodeIR.

Place both of these in the same folder,
IR Tools (Version 1.4)
Decodes a learned infrared Hex code (only codes that start with 0000) that you paste (Ctrl +V) into the Hex Code Window and press the Decode Hex Button and a box appears to give you information on the Protocol, Device Number and Function Number (OBC). Requires the DecodeIR.DLL file.
[Link: hifi-remote.com]

DecodeIR.dll (Version 2.41)
File required by DecodeCCF and IR Tools.
[Link: hifi-remote.com]


You may also want to use the new MakeHex GUI. Place it in the same folder as Makehex.


I think the IMPACT ACOUSTICS 6 x 2 Component Video/Optical Matrix Switch uses Nec1 Protocol Codes and Device Number 16.

I have the codes for a 40697.

POWER ON
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0055 0015 0E41

POWER OFF
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 05EB 0155 0055 0015 0E41

GREEN 1
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0056 0015 0E41

GREEN 2
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0056 0015 0E41

GREEN 3
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 05EB 0155 0056 0015 0E41

GREEN 4
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0056 0015 0E41

GREEN 5
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 05EB 0155 0055 0015 0E41

GREEN 6
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 05EC 0155 0056 0015 0E41

RED 1
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0055 0015 0E41

RED 2
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 05EB 0155 0056 0015 0E41

RED 3
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 05EC 0155 0056 0015 0E41

RED 4
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 05EC 0155 0056 0015 0E41

RED 5
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0015 0015 0040 0015 05EB 0155 0056 0015 0E41

RED 6
0000 006D 0022 0002 0155 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 05EB 0155 0056 0015 0E41


Cheers
Jason

Last edited by Jasonvp on November 8, 2010 21:39.
OP | Post 3 made on Friday October 15, 2010 at 01:35
kanofsky
Long Time Member
Joined:
Posts:
November 2005
10
This is quite incredible. You are an amazing help. But a question. How did you know which codes correlate to the functions above (and you're correct - that's essentially all there is on this device? In other words, if the option is 1-255, how do you know which among them is "red 6" or "power on" ??

Separately, what means did you have to identify that this particular device was NEC1 Device 16? Is there a knowledgebase somewhere that enumerates this?

Finally, here's the information provided by the manufacturer to me today:

CTG P/N 40697 Hex Code (CAS-62RH)
Frequency : 38KHz
Wavelength : 940nm
18key Code List
Custom Code : 10EF

They then provided a table of values
Power On = 1FE0
Power Off = 5FA0

CH1 = 12ED and 1CE3 (I assume these are Red and Green)
and so on and so forth.....

But HOW would I know which of the 1 - 255 codes would be the right one for these particular functions?


Thanks for helping me - you're providing enormous education to a guy in need.

GK
GK
OP | Post 4 made on Friday October 15, 2010 at 01:42
kanofsky
Long Time Member
Joined:
Posts:
November 2005
10
Oh - one other quick question - can you tell me how I can find the correct discrete on and off codes for a Sony CD/CD-R RCD-W500C ??

I was on this site: [Link: rockabilly.net] and it points me ot device number 17 or 57 or 81 for CD and CD-R devices.

It says that 46 and 47 are the discrete on and off codes.

I tried using MakeHex with all 3 device numbers (17, 57, 81) and the Sony12 file (for 17) and Sony15 file (for 57 and 81) - NOTHING works. What am I doing wrong?
GK
Post 5 made on Friday October 15, 2010 at 02:36
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Try this link for sony codes:

[Link: hifi-remote.com]

Sony has a very regular format for IR transmissions. Like most manufacturers (NEC Being the other prime example) they were shortsighted and did not leave enough bits to specify all of the needed device codes as the A/V industry took off. For that reason and to maintaoin backwards compatiblity the have three code sets all of the same design with a different number of bits (12, 15,20) so that the device code field can be accomodated. The key code field is always the same size, 7 bits for 128 possible values. In the 12 bit code there are 5 bits for device code (32 possible devices, silly in retrospect). The 15 bit codes allows for 256 devices (still silly), where as the 20 bit code allowed for 2^13 devices (finally sanity). In Sony land the function (key) codes are standardized so 46 is always discrete power on if the device has such a function.

There is a fundamental IR paper that I wrote almost a decade ago that will shed a lot of light on the subject of IR as used by Philips in Pronto hex format. Search the files area of this site.

Text files with the extension IRP was originally developed by myself as a notation to describe IR protocols and had an accompanying program called GENIRDB that is very similar to MakeHex. GENIRDB could produce output for several IR transmitting devices including the Pronto, the Nirvis Slink, the Leopard and several others. John Fine and I eventually met in cyberspace and collaborated on the IRP notation and several changes were made. John then produced MakeHex and its companion programs and I decided I had enough with IR as there were several smart people dealing with it and it no longer was a black art.

The last thing I did was develop a small IR generator that takes in IRP (which unfortunately has too many dialects now) and produces Pronto Hex. A copy is on my web site. It can work with a USB-UIRT to test the generated codes (emit them as IR). I use the inards of that program in many of my applications where I generate IR on the fly.
Post 6 made on Friday October 15, 2010 at 10:01
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
On October 15, 2010 at 01:35, kanofsky said...
This is quite incredible. You are an amazing help. But a question. How did you know which codes correlate to the functions above (and you're correct - that's essentially all there is on this device? In other words, if the option is 1-255, how do you know which among them is "red 6" or "power on" ??

I had the codes already from another database. You can not know what each of the 256 possible Nec1 hex codes from MakeHex will do unless you,

1.) Test them all.
OR
2.) Have the info from the manufacturer.
OR
3.) Have a learnt hex code that you can use with IRTools / DecodeIR (see Post 2) to identify the Protocol, Device, Sub Device and Function Number.


Separately, what means did you have to identify that this particular device was NEC1 Device 16? Is there a knowledgebase somewhere that enumerates this?

I used IRTools / DecodeIR (see post 2)

Below is an example of the results you get if you copy & paste the Power On hex code from Post 2 into the IRTools 'Hex Codes' window and the press the 'Decode Hex' button.



The info in 'DecodeIR DLL Results' is all you need for MakeHex.
Protocol: NEC1 (use NEC1 IRP File)
Device: 16 (Device Number in Decimal)
OBC: 31 (Function Number in Decimal)
EFC: 250 (Not needed for MakeHex)

IRTools also gives you the 'Frequency' of the learnt hex code when you close 'DecodeIR DLL Results' that can come in handy if the default Frequency in MakeHex is set to a different value.



The Frequency of the IR code signal is generally fairly forgiving (+ or - 2KHz) for most Devices receiving it so a the default settings in the IRP files in MakeHex rarely need to be changed but is something to consider if the generated hex codes from MakeHex don't work. As Barry said, have a read of his doc for more info.
[Link: remotecentral.com]



Finally, here's the information provided by the manufacturer to me today:

CTG P/N 40697 Hex Code (CAS-62RH)
Frequency : 38KHz
Wavelength : 940nm
18key Code List
Custom Code : 10EF

They then provided a table of values
Power On = 1FE0
Power Off = 5FA0

CH1 = 12ED and 1CE3 (I assume these are Red and Green)
and so on and so forth.....

But HOW would I know which of the 1 - 255 codes would be the right one for these particular functions?

MakeHex uses Decimal Numbers for its settings so you always need convert Hex to Decimal for the Device & Sub Device Number. You can use the Calculator in Windows OS set to Scientific Mode to do this.

Custom Code: 10EF
10 is the Device Number (10 Hex = 16 Decimal).
EF is the Sub Device Number (EF Hex = 239 Decimal).

If you add 10 and EF together you get FF (255 in Decimal)
10 + EF = FF

If the Custom Code (Device & Sub Device Number) adds up to FF you only need to use Device=16 (Decimal) in MakeHex but if does not add up to FF you need to use a Sub Device Number as well.
I generally use the Sub Device Number as well just to avoid mistakes. So you can either use Device=16 or Device=16.239 in the NEC1 IRP file. Both will give you the same result in this case.


Power On = 1FE0
1F is the Function Number (1F Hex = 31 Decimal)

The good thing about the new GUI for MakeHex (see Post 2) is that you can generate the .HEX file (!Output file) in Hex Numbers easily by setting 'Output' to 'Hex' or 'Both' (no need to convert Hex to Decimal for Function Numbers) and then press 'Make Hex' button.



Open the !Output file and find the Power On = 1FE0 hex code named,
Device Code: 10.EF Function: 1F
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0689 0157 0056 0015 0E94

Power Off = 5FA0
Device Code: 10.EF Function: 5F
0000 006D 0022 0002 0157 00AC 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0689 0157 0056 0015 0E94


Cheers
Jason

Last edited by Jasonvp on October 15, 2010 10:54.
Post 7 made on Friday October 15, 2010 at 10:10
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
On October 15, 2010 at 01:42, kanofsky said...
Oh - one other quick question - can you tell me how I can find the correct discrete on and off codes for a Sony CD/CD-R RCD-W500C ??

I was on this site: [Link: rockabilly.net] and it points me ot device number 17 or 57 or 81 for CD and CD-R devices.

It says that 46 and 47 are the discrete on and off codes.

I tried using MakeHex with all 3 device numbers (17, 57, 81) and the Sony12 file (for 17) and Sony15 file (for 57 and 81) - NOTHING works. What am I doing wrong?

Can you post the hex codes you are testing for ON and OFF?

It will make it easier to find out what you are doing wrong.


Cheers
Jason
OP | Post 8 made on Friday October 15, 2010 at 12:31
kanofsky
Long Time Member
Joined:
Posts:
November 2005
10
POWER ON (46) - GENERATED USING THE -OLD- NON-GUI-BASED MAKEHEX APP.

For Device 17: (Sony12)
-------------
0000 0068 0000 000D 0060 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 03D4

For Device 57: (Sony15)
-------------
0000 0068 0000 0010 0060 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0018 0315

For Device 81: (Sony15)
-------------
0000 0068 0000 0010 0060 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 032D

POWER OFF (47) - GENERATED USING MAKEHEX

For Device 17: (Sony12)
-------------
0000 0068 0000 000D 0060 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 03BC

For Device 57: (Sony15)
-------------
0000 0068 0000 0010 0060 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0018 02FD

For Device 81: (Sony 15)
-------------
0000 0068 0000 0010 0060 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0315


Bear in mind - this is for the CD-R RCD-W500C (left side CD player, right side CD Recorder)
GK
Post 9 made on Friday October 15, 2010 at 13:58
Jasonvp
Select Member
Joined:
Posts:
July 2008
2,404
The codes are fine.

Does the orignal remote have Power Toggle Button?

I had a look at the manual but it does not name the remote buttons. I'm guessing it does not have a stanby mode i.e. you have to turn it On and Off manually from the device.

Found this. The codes won't work.

Post 10 made on Friday October 15, 2010 at 18:51
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Go to the Discrete Code Section and look for Sony System Off command and see if that will work. If it does, then a 'Play' command may turn on the unit.

[Link: remotecentral.com]
Lyndel McGee
Philips Pronto Addict/Beta Tester


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse